import requests
from selenium import webdriver

url = "https://www.pexels.com"
options = webdriver.ChromeOptions()  # 创建一个配置对象
options.add_argument('--proxy-server=http://218.95.37.135:40261')  # 使用代理ip
driver = webdriver.Chrome(options=options)
driver.get(url)
input()
